<template>
  <el-table-column label="更新时间" prop="updateTime" min-width="180">
    <template #default="scope">
      {{formatTime(scope.row.updateTime)}}
    </template>
  </el-table-column>
</template>

<script setup lang="ts">
import moment from "moment/moment";

const formatTime = (val: number) => {
  return moment(val).format('YYYY.MM.DD HH:mm:ss')
}
</script>
